<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>享多多</title>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
    <link rel="shortcut icon" href="imge/ic_launcher.png">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="lib/SUL-Mobile/css/sm.css">
    <link rel="stylesheet" href="lib/SUL-Mobile/css/sm-extend.css">
    <link rel="stylesheet" href="css/mian.css"/>
</head>
<body>
<div class="page-group">
    <div class="page">
        <div class="content">
            <header class="login-header">
                <img  src="imge/icon_xdd_logo.png" alt=""/>
            </header>

            <div class="login-person item-input">
                <input type="text" placeholder="请输入帐号" pattern="[0-9]*" maxlength="11"/>
                <input type="password" placeholder="请输入密码" pattern="[0-9]*" maxlength="6"/>
            </div>

            <div class="login-tiyan">
                <span class="page-left pull-left">立即体验</span>
                <div class="pull-right">
                    <input type="checkbox"/><span>记住密码</span>
                </div>
            </div>

            <a href="javascript:;" class="button button-fill button-big button-warning login-btn">登录</a>

            <div class="login-picture">
                <img src="imge/icon_bg_img.png" alt=""/>
                <span class="login-version">当前版本号:V8.0.8</span>
            </div>
        </div>
    </div>
</div>
</body>
<script src='lib/zepto/zepto.js'></script>
<script src='lib/SUL-Mobile/js/sm.js'></script>
<script src='lib/SUL-Mobile/js/sm-extend.js'></script>
<script src='lib/SUL-Mobile/js/sm-city-picker.js'></script>
<script src='lib/jquery/jquery.min.js'></script>
<script src='js/main.js'></script>
<script>
//    $(function () {
        $(".login-btn").click(function (e) {
//            e.preventDefault();
            $.ajax({
                type:'post',
                async:false,
                url:"http://api.xiangqianpos.com/api/login2",
                data:{userName:'890010001006',passWord:'888888'},
                dataType:'jsonp',
                jsonp:'cb',
                jsonpCallback:'callback',
                success: function (res) {
                    console.log("111")
                }, error: function (res) {
                    console.log(res)
                }
            });
        });
   /* });*/
</script>
</html>